import { createApp } from 'vue'
import "normalize.css"
import router from './router'
import pinia  from './store'
import App from './App.vue'
import "./styles/common.css"
   
//手动引入样式  vant 中的函数组件样式
import "vant/es/toast/style"
import "vant/es/notify/style"


 const app =createApp(App)  
    app.use(router)
    app.use(pinia)
 
    //进行全局的未捕获异常的处理
    app.config.errorHandler = function(err){
    console.error("异常信息:",err)
    }
    app.mount('#app')